<template>
    <div>
      <el-table
        :data="roleObjs"
        stripe
        style="width: 100%">
        <el-table-column
          prop="roleId"
          label="角色编号"
          width="180">
        </el-table-column>
        <el-table-column
          prop="roleName"
          label="角色名称"
          width="180">
        </el-table-column>
        <el-table-column
          prop="roleDescription"
          label="角色描述"
          width="250"
        >
        </el-table-column>
        <el-table-column
          label="功能列表"
        >
          <template slot-scope="scope">
            <el-checkbox-group v-model="scope.row.functionList" disabled>
              <el-checkbox label="授权中心" name="type"></el-checkbox>
              <el-checkbox label="转账管理" name="type"></el-checkbox>
              <el-checkbox label="交易管理" name="type"></el-checkbox>
              <el-checkbox label="日志管理" name="type"></el-checkbox>
              <el-checkbox label="个人中心" name="type"></el-checkbox>
            </el-checkbox-group>
          </template>
        </el-table-column>
      </el-table>
    </div>
</template>

<script>
  export default {
    data() {
      return{
        roleObjs: []
      }
    },
    mounted(){
      this.roleObjs=[this.$route.params.roleObj]
    }
  }
</script>

<style scoped>

</style>
